/**
 * ...
 * @author Krzysztof Rozalski
 */

package hapi.math;

class AngleFactoryMethods {

	public static inline function degrees(alfa:Float):Angle {
		return new Angle(MathUtil.degToRad(alfa));
	}
	
	public static inline function radians(alfa:Float):Angle {
		return new Angle(alfa);
	}
	
	public static inline function piRadians(alfa:Float):Angle {
		return radians(Math.PI * alfa);
	}
}